/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package vn.com.fis.portal.vtcc.model.impl;

import com.liferay.portal.kernel.bean.AutoEscapeBeanHandler;
import com.liferay.portal.kernel.json.JSON;
import com.liferay.portal.kernel.util.GetterUtil;
import com.liferay.portal.kernel.util.ProxyUtil;
import com.liferay.portal.kernel.util.StringBundler;
import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.model.impl.BaseModelImpl;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;
import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;

import vn.com.fis.portal.vtcc.model.SampleEntry;
import vn.com.fis.portal.vtcc.model.SampleEntryModel;
import vn.com.fis.portal.vtcc.model.SampleEntrySoap;

import java.io.Serializable;

import java.sql.Types;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * The base model implementation for the SampleEntry service. Represents a row in the &quot;SampleEntry&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This implementation and its corresponding interface {@link vn.com.fis.portal.vtcc.model.SampleEntryModel} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link SampleEntryImpl}.
 * </p>
 *
 * @author loind
 * @see SampleEntryImpl
 * @see vn.com.fis.portal.vtcc.model.SampleEntry
 * @see vn.com.fis.portal.vtcc.model.SampleEntryModel
 * @generated
 */
@JSON(strict = true)
public class SampleEntryModelImpl extends BaseModelImpl<SampleEntry>
	implements SampleEntryModel {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this class directly. All methods that expect a sample entry model instance should use the {@link vn.com.fis.portal.vtcc.model.SampleEntry} interface instead.
	 */
	public static final String TABLE_NAME = "SampleEntry";
	public static final Object[][] TABLE_COLUMNS = {
			{ "sampleId", Types.BIGINT },
			{ "scientificName", Types.VARCHAR },
			{ "sampleSynonym", Types.VARCHAR },
			{ "eCatalog", Types.INTEGER },
			{ "sampleCode", Types.VARCHAR },
			{ "catalogYear", Types.VARCHAR },
			{ "otherName", Types.VARCHAR },
			{ "sampleOtherCode", Types.VARCHAR },
			{ "sourceIsolation", Types.VARCHAR },
			{ "history", Types.VARCHAR },
			{ "sampleForeign", Types.INTEGER },
			{ "domestic", Types.INTEGER },
			{ "deposit", Types.INTEGER },
			{ "isolationMethod", Types.VARCHAR },
			{ "isolationTime", Types.VARCHAR },
			{ "depositionTime", Types.VARCHAR },
			{ "isolationPerson", Types.VARCHAR },
			{ "fd", Types.VARCHAR },
			{ "df", Types.VARCHAR },
			{ "sampleLN", Types.VARCHAR },
			{ "cultivationMedium", Types.VARCHAR },
			{ "cultivationTemperature", Types.VARCHAR },
			{ "pH", Types.VARCHAR },
			{ "mostRecentCheckingDate", Types.TIMESTAMP },
			{ "survivability", Types.VARCHAR },
			{ "typeStrain", Types.INTEGER },
			{ "naturalStrain", Types.INTEGER },
			{ "mutatedStrain", Types.INTEGER },
			{ "productionStrain", Types.INTEGER },
			{ "cellMorphology", Types.VARCHAR },
			{ "cellPhoto", Types.VARCHAR },
			{ "colonyPhoto", Types.VARCHAR },
			{ "sporePhoto", Types.VARCHAR },
			{ "sequences", Types.VARCHAR },
			{ "growthCondition", Types.VARCHAR },
			{ "quinone", Types.VARCHAR },
			{ "GCContent", Types.VARCHAR },
			{ "otherCharacteristics", Types.VARCHAR },
			{ "applications", Types.VARCHAR },
			{ "sampleReferences", Types.VARCHAR },
			{ "createDate", Types.TIMESTAMP },
			{ "updateDate", Types.TIMESTAMP },
			{ "biosafety", Types.VARCHAR },
			{ "status", Types.INTEGER },
			{ "strainId", Types.BIGINT }
		};
	public static final String TABLE_SQL_CREATE = "create table SampleEntry (sampleId LONG not null primary key,scientificName VARCHAR(75) null,sampleSynonym VARCHAR(75) null,eCatalog INTEGER,sampleCode VARCHAR(75) null,catalogYear VARCHAR(75) null,otherName VARCHAR(75) null,sampleOtherCode VARCHAR(75) null,sourceIsolation VARCHAR(75) null,history VARCHAR(75) null,sampleForeign INTEGER,domestic INTEGER,deposit INTEGER,isolationMethod VARCHAR(75) null,isolationTime VARCHAR(75) null,depositionTime VARCHAR(75) null,isolationPerson VARCHAR(75) null,fd VARCHAR(75) null,df VARCHAR(75) null,sampleLN VARCHAR(75) null,cultivationMedium VARCHAR(75) null,cultivationTemperature VARCHAR(75) null,pH VARCHAR(75) null,mostRecentCheckingDate DATE null,survivability VARCHAR(75) null,typeStrain INTEGER,naturalStrain INTEGER,mutatedStrain INTEGER,productionStrain INTEGER,cellMorphology VARCHAR(75) null,cellPhoto VARCHAR(75) null,colonyPhoto VARCHAR(75) null,sporePhoto VARCHAR(75) null,sequences VARCHAR(75) null,growthCondition VARCHAR(75) null,quinone VARCHAR(75) null,GCContent VARCHAR(75) null,otherCharacteristics VARCHAR(75) null,applications VARCHAR(75) null,sampleReferences VARCHAR(75) null,createDate DATE null,updateDate DATE null,biosafety VARCHAR(75) null,status INTEGER,strainId LONG)";
	public static final String TABLE_SQL_DROP = "drop table SampleEntry";
	public static final String ORDER_BY_JPQL = " ORDER BY sampleEntry.sampleCode ASC";
	public static final String ORDER_BY_SQL = " ORDER BY SampleEntry.sampleCode ASC";
	public static final String DATA_SOURCE = "liferayDataSource";
	public static final String SESSION_FACTORY = "liferaySessionFactory";
	public static final String TX_MANAGER = "liferayTransactionManager";
	public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
				"value.object.entity.cache.enabled.vn.com.fis.portal.vtcc.model.SampleEntry"),
			true);
	public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
				"value.object.finder.cache.enabled.vn.com.fis.portal.vtcc.model.SampleEntry"),
			true);
	public static final boolean COLUMN_BITMASK_ENABLED = GetterUtil.getBoolean(com.liferay.util.service.ServiceProps.get(
				"value.object.column.bitmask.enabled.vn.com.fis.portal.vtcc.model.SampleEntry"),
			true);
	public static long SAMPLECODE_COLUMN_BITMASK = 1L;

	/**
	 * Converts the soap model instance into a normal model instance.
	 *
	 * @param soapModel the soap model instance to convert
	 * @return the normal model instance
	 */
	public static SampleEntry toModel(SampleEntrySoap soapModel) {
		SampleEntry model = new SampleEntryImpl();

		model.setSampleId(soapModel.getSampleId());
		model.setScientificName(soapModel.getScientificName());
		model.setSampleSynonym(soapModel.getSampleSynonym());
		model.setECatalog(soapModel.getECatalog());
		model.setSampleCode(soapModel.getSampleCode());
		model.setCatalogYear(soapModel.getCatalogYear());
		model.setOtherName(soapModel.getOtherName());
		model.setSampleOtherCode(soapModel.getSampleOtherCode());
		model.setSourceIsolation(soapModel.getSourceIsolation());
		model.setHistory(soapModel.getHistory());
		model.setSampleForeign(soapModel.getSampleForeign());
		model.setDomestic(soapModel.getDomestic());
		model.setDeposit(soapModel.getDeposit());
		model.setIsolationMethod(soapModel.getIsolationMethod());
		model.setIsolationTime(soapModel.getIsolationTime());
		model.setDepositionTime(soapModel.getDepositionTime());
		model.setIsolationPerson(soapModel.getIsolationPerson());
		model.setFd(soapModel.getFd());
		model.setDf(soapModel.getDf());
		model.setSampleLN(soapModel.getSampleLN());
		model.setCultivationMedium(soapModel.getCultivationMedium());
		model.setCultivationTemperature(soapModel.getCultivationTemperature());
		model.setPH(soapModel.getPH());
		model.setMostRecentCheckingDate(soapModel.getMostRecentCheckingDate());
		model.setSurvivability(soapModel.getSurvivability());
		model.setTypeStrain(soapModel.getTypeStrain());
		model.setNaturalStrain(soapModel.getNaturalStrain());
		model.setMutatedStrain(soapModel.getMutatedStrain());
		model.setProductionStrain(soapModel.getProductionStrain());
		model.setCellMorphology(soapModel.getCellMorphology());
		model.setCellPhoto(soapModel.getCellPhoto());
		model.setColonyPhoto(soapModel.getColonyPhoto());
		model.setSporePhoto(soapModel.getSporePhoto());
		model.setSequences(soapModel.getSequences());
		model.setGrowthCondition(soapModel.getGrowthCondition());
		model.setQuinone(soapModel.getQuinone());
		model.setGCContent(soapModel.getGCContent());
		model.setOtherCharacteristics(soapModel.getOtherCharacteristics());
		model.setApplications(soapModel.getApplications());
		model.setSampleReferences(soapModel.getSampleReferences());
		model.setCreateDate(soapModel.getCreateDate());
		model.setUpdateDate(soapModel.getUpdateDate());
		model.setBiosafety(soapModel.getBiosafety());
		model.setStatus(soapModel.getStatus());
		model.setStrainId(soapModel.getStrainId());

		return model;
	}

	/**
	 * Converts the soap model instances into normal model instances.
	 *
	 * @param soapModels the soap model instances to convert
	 * @return the normal model instances
	 */
	public static List<SampleEntry> toModels(SampleEntrySoap[] soapModels) {
		List<SampleEntry> models = new ArrayList<SampleEntry>(soapModels.length);

		for (SampleEntrySoap soapModel : soapModels) {
			models.add(toModel(soapModel));
		}

		return models;
	}

	public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.util.service.ServiceProps.get(
				"lock.expiration.time.vn.com.fis.portal.vtcc.model.SampleEntry"));

	public SampleEntryModelImpl() {
	}

	public long getPrimaryKey() {
		return _sampleId;
	}

	public void setPrimaryKey(long primaryKey) {
		setSampleId(primaryKey);
	}

	public Serializable getPrimaryKeyObj() {
		return new Long(_sampleId);
	}

	public void setPrimaryKeyObj(Serializable primaryKeyObj) {
		setPrimaryKey(((Long)primaryKeyObj).longValue());
	}

	public Class<?> getModelClass() {
		return SampleEntry.class;
	}

	public String getModelClassName() {
		return SampleEntry.class.getName();
	}

	@JSON
	public long getSampleId() {
		return _sampleId;
	}

	public void setSampleId(long sampleId) {
		_sampleId = sampleId;
	}

	@JSON
	public String getScientificName() {
		if (_scientificName == null) {
			return StringPool.BLANK;
		}
		else {
			return _scientificName;
		}
	}

	public void setScientificName(String scientificName) {
		_scientificName = scientificName;
	}

	@JSON
	public String getSampleSynonym() {
		if (_sampleSynonym == null) {
			return StringPool.BLANK;
		}
		else {
			return _sampleSynonym;
		}
	}

	public void setSampleSynonym(String sampleSynonym) {
		_sampleSynonym = sampleSynonym;
	}

	@JSON
	public int getECatalog() {
		return _eCatalog;
	}

	public void setECatalog(int eCatalog) {
		_eCatalog = eCatalog;
	}

	@JSON
	public String getSampleCode() {
		if (_sampleCode == null) {
			return StringPool.BLANK;
		}
		else {
			return _sampleCode;
		}
	}

	public void setSampleCode(String sampleCode) {
		_columnBitmask = -1L;

		if (_originalSampleCode == null) {
			_originalSampleCode = _sampleCode;
		}

		_sampleCode = sampleCode;
	}

	public String getOriginalSampleCode() {
		return GetterUtil.getString(_originalSampleCode);
	}

	@JSON
	public String getCatalogYear() {
		if (_catalogYear == null) {
			return StringPool.BLANK;
		}
		else {
			return _catalogYear;
		}
	}

	public void setCatalogYear(String catalogYear) {
		_catalogYear = catalogYear;
	}

	@JSON
	public String getOtherName() {
		if (_otherName == null) {
			return StringPool.BLANK;
		}
		else {
			return _otherName;
		}
	}

	public void setOtherName(String otherName) {
		_otherName = otherName;
	}

	@JSON
	public String getSampleOtherCode() {
		if (_sampleOtherCode == null) {
			return StringPool.BLANK;
		}
		else {
			return _sampleOtherCode;
		}
	}

	public void setSampleOtherCode(String sampleOtherCode) {
		_sampleOtherCode = sampleOtherCode;
	}

	@JSON
	public String getSourceIsolation() {
		if (_sourceIsolation == null) {
			return StringPool.BLANK;
		}
		else {
			return _sourceIsolation;
		}
	}

	public void setSourceIsolation(String sourceIsolation) {
		_sourceIsolation = sourceIsolation;
	}

	@JSON
	public String getHistory() {
		if (_history == null) {
			return StringPool.BLANK;
		}
		else {
			return _history;
		}
	}

	public void setHistory(String history) {
		_history = history;
	}

	@JSON
	public int getSampleForeign() {
		return _sampleForeign;
	}

	public void setSampleForeign(int sampleForeign) {
		_sampleForeign = sampleForeign;
	}

	@JSON
	public int getDomestic() {
		return _domestic;
	}

	public void setDomestic(int domestic) {
		_domestic = domestic;
	}

	@JSON
	public int getDeposit() {
		return _deposit;
	}

	public void setDeposit(int deposit) {
		_deposit = deposit;
	}

	@JSON
	public String getIsolationMethod() {
		if (_isolationMethod == null) {
			return StringPool.BLANK;
		}
		else {
			return _isolationMethod;
		}
	}

	public void setIsolationMethod(String isolationMethod) {
		_isolationMethod = isolationMethod;
	}

	@JSON
	public String getIsolationTime() {
		if (_isolationTime == null) {
			return StringPool.BLANK;
		}
		else {
			return _isolationTime;
		}
	}

	public void setIsolationTime(String isolationTime) {
		_isolationTime = isolationTime;
	}

	@JSON
	public String getDepositionTime() {
		if (_depositionTime == null) {
			return StringPool.BLANK;
		}
		else {
			return _depositionTime;
		}
	}

	public void setDepositionTime(String depositionTime) {
		_depositionTime = depositionTime;
	}

	@JSON
	public String getIsolationPerson() {
		if (_isolationPerson == null) {
			return StringPool.BLANK;
		}
		else {
			return _isolationPerson;
		}
	}

	public void setIsolationPerson(String isolationPerson) {
		_isolationPerson = isolationPerson;
	}

	@JSON
	public String getFd() {
		if (_fd == null) {
			return StringPool.BLANK;
		}
		else {
			return _fd;
		}
	}

	public void setFd(String fd) {
		_fd = fd;
	}

	@JSON
	public String getDf() {
		if (_df == null) {
			return StringPool.BLANK;
		}
		else {
			return _df;
		}
	}

	public void setDf(String df) {
		_df = df;
	}

	@JSON
	public String getSampleLN() {
		if (_sampleLN == null) {
			return StringPool.BLANK;
		}
		else {
			return _sampleLN;
		}
	}

	public void setSampleLN(String sampleLN) {
		_sampleLN = sampleLN;
	}

	@JSON
	public String getCultivationMedium() {
		if (_cultivationMedium == null) {
			return StringPool.BLANK;
		}
		else {
			return _cultivationMedium;
		}
	}

	public void setCultivationMedium(String cultivationMedium) {
		_cultivationMedium = cultivationMedium;
	}

	@JSON
	public String getCultivationTemperature() {
		if (_cultivationTemperature == null) {
			return StringPool.BLANK;
		}
		else {
			return _cultivationTemperature;
		}
	}

	public void setCultivationTemperature(String cultivationTemperature) {
		_cultivationTemperature = cultivationTemperature;
	}

	@JSON
	public String getPH() {
		if (_pH == null) {
			return StringPool.BLANK;
		}
		else {
			return _pH;
		}
	}

	public void setPH(String pH) {
		_pH = pH;
	}

	@JSON
	public Date getMostRecentCheckingDate() {
		return _mostRecentCheckingDate;
	}

	public void setMostRecentCheckingDate(Date mostRecentCheckingDate) {
		_mostRecentCheckingDate = mostRecentCheckingDate;
	}

	@JSON
	public String getSurvivability() {
		if (_survivability == null) {
			return StringPool.BLANK;
		}
		else {
			return _survivability;
		}
	}

	public void setSurvivability(String survivability) {
		_survivability = survivability;
	}

	@JSON
	public int getTypeStrain() {
		return _typeStrain;
	}

	public void setTypeStrain(int typeStrain) {
		_typeStrain = typeStrain;
	}

	@JSON
	public int getNaturalStrain() {
		return _naturalStrain;
	}

	public void setNaturalStrain(int naturalStrain) {
		_naturalStrain = naturalStrain;
	}

	@JSON
	public int getMutatedStrain() {
		return _mutatedStrain;
	}

	public void setMutatedStrain(int mutatedStrain) {
		_mutatedStrain = mutatedStrain;
	}

	@JSON
	public int getProductionStrain() {
		return _productionStrain;
	}

	public void setProductionStrain(int productionStrain) {
		_productionStrain = productionStrain;
	}

	@JSON
	public String getCellMorphology() {
		if (_cellMorphology == null) {
			return StringPool.BLANK;
		}
		else {
			return _cellMorphology;
		}
	}

	public void setCellMorphology(String cellMorphology) {
		_cellMorphology = cellMorphology;
	}

	@JSON
	public String getCellPhoto() {
		if (_cellPhoto == null) {
			return StringPool.BLANK;
		}
		else {
			return _cellPhoto;
		}
	}

	public void setCellPhoto(String cellPhoto) {
		_cellPhoto = cellPhoto;
	}

	@JSON
	public String getColonyPhoto() {
		if (_colonyPhoto == null) {
			return StringPool.BLANK;
		}
		else {
			return _colonyPhoto;
		}
	}

	public void setColonyPhoto(String colonyPhoto) {
		_colonyPhoto = colonyPhoto;
	}

	@JSON
	public String getSporePhoto() {
		if (_sporePhoto == null) {
			return StringPool.BLANK;
		}
		else {
			return _sporePhoto;
		}
	}

	public void setSporePhoto(String sporePhoto) {
		_sporePhoto = sporePhoto;
	}

	@JSON
	public String getSequences() {
		if (_sequences == null) {
			return StringPool.BLANK;
		}
		else {
			return _sequences;
		}
	}

	public void setSequences(String sequences) {
		_sequences = sequences;
	}

	@JSON
	public String getGrowthCondition() {
		if (_growthCondition == null) {
			return StringPool.BLANK;
		}
		else {
			return _growthCondition;
		}
	}

	public void setGrowthCondition(String growthCondition) {
		_growthCondition = growthCondition;
	}

	@JSON
	public String getQuinone() {
		if (_quinone == null) {
			return StringPool.BLANK;
		}
		else {
			return _quinone;
		}
	}

	public void setQuinone(String quinone) {
		_quinone = quinone;
	}

	@JSON
	public String getGCContent() {
		if (_GCContent == null) {
			return StringPool.BLANK;
		}
		else {
			return _GCContent;
		}
	}

	public void setGCContent(String GCContent) {
		_GCContent = GCContent;
	}

	@JSON
	public String getOtherCharacteristics() {
		if (_otherCharacteristics == null) {
			return StringPool.BLANK;
		}
		else {
			return _otherCharacteristics;
		}
	}

	public void setOtherCharacteristics(String otherCharacteristics) {
		_otherCharacteristics = otherCharacteristics;
	}

	@JSON
	public String getApplications() {
		if (_applications == null) {
			return StringPool.BLANK;
		}
		else {
			return _applications;
		}
	}

	public void setApplications(String applications) {
		_applications = applications;
	}

	@JSON
	public String getSampleReferences() {
		if (_sampleReferences == null) {
			return StringPool.BLANK;
		}
		else {
			return _sampleReferences;
		}
	}

	public void setSampleReferences(String sampleReferences) {
		_sampleReferences = sampleReferences;
	}

	@JSON
	public Date getCreateDate() {
		return _createDate;
	}

	public void setCreateDate(Date createDate) {
		_createDate = createDate;
	}

	@JSON
	public Date getUpdateDate() {
		return _updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		_updateDate = updateDate;
	}

	@JSON
	public String getBiosafety() {
		if (_biosafety == null) {
			return StringPool.BLANK;
		}
		else {
			return _biosafety;
		}
	}

	public void setBiosafety(String biosafety) {
		_biosafety = biosafety;
	}

	@JSON
	public int getStatus() {
		return _status;
	}

	public void setStatus(int status) {
		_status = status;
	}

	@JSON
	public long getStrainId() {
		return _strainId;
	}

	public void setStrainId(long strainId) {
		_strainId = strainId;
	}

	public long getColumnBitmask() {
		return _columnBitmask;
	}

	@Override
	public SampleEntry toEscapedModel() {
		if (_escapedModelProxy == null) {
			_escapedModelProxy = (SampleEntry)ProxyUtil.newProxyInstance(_classLoader,
					_escapedModelProxyInterfaces,
					new AutoEscapeBeanHandler(this));
		}

		return _escapedModelProxy;
	}

	@Override
	public ExpandoBridge getExpandoBridge() {
		if (_expandoBridge == null) {
			_expandoBridge = ExpandoBridgeFactoryUtil.getExpandoBridge(0,
					SampleEntry.class.getName(), getPrimaryKey());
		}

		return _expandoBridge;
	}

	@Override
	public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
		getExpandoBridge().setAttributes(serviceContext);
	}

	@Override
	public Object clone() {
		SampleEntryImpl sampleEntryImpl = new SampleEntryImpl();

		sampleEntryImpl.setSampleId(getSampleId());
		sampleEntryImpl.setScientificName(getScientificName());
		sampleEntryImpl.setSampleSynonym(getSampleSynonym());
		sampleEntryImpl.setECatalog(getECatalog());
		sampleEntryImpl.setSampleCode(getSampleCode());
		sampleEntryImpl.setCatalogYear(getCatalogYear());
		sampleEntryImpl.setOtherName(getOtherName());
		sampleEntryImpl.setSampleOtherCode(getSampleOtherCode());
		sampleEntryImpl.setSourceIsolation(getSourceIsolation());
		sampleEntryImpl.setHistory(getHistory());
		sampleEntryImpl.setSampleForeign(getSampleForeign());
		sampleEntryImpl.setDomestic(getDomestic());
		sampleEntryImpl.setDeposit(getDeposit());
		sampleEntryImpl.setIsolationMethod(getIsolationMethod());
		sampleEntryImpl.setIsolationTime(getIsolationTime());
		sampleEntryImpl.setDepositionTime(getDepositionTime());
		sampleEntryImpl.setIsolationPerson(getIsolationPerson());
		sampleEntryImpl.setFd(getFd());
		sampleEntryImpl.setDf(getDf());
		sampleEntryImpl.setSampleLN(getSampleLN());
		sampleEntryImpl.setCultivationMedium(getCultivationMedium());
		sampleEntryImpl.setCultivationTemperature(getCultivationTemperature());
		sampleEntryImpl.setPH(getPH());
		sampleEntryImpl.setMostRecentCheckingDate(getMostRecentCheckingDate());
		sampleEntryImpl.setSurvivability(getSurvivability());
		sampleEntryImpl.setTypeStrain(getTypeStrain());
		sampleEntryImpl.setNaturalStrain(getNaturalStrain());
		sampleEntryImpl.setMutatedStrain(getMutatedStrain());
		sampleEntryImpl.setProductionStrain(getProductionStrain());
		sampleEntryImpl.setCellMorphology(getCellMorphology());
		sampleEntryImpl.setCellPhoto(getCellPhoto());
		sampleEntryImpl.setColonyPhoto(getColonyPhoto());
		sampleEntryImpl.setSporePhoto(getSporePhoto());
		sampleEntryImpl.setSequences(getSequences());
		sampleEntryImpl.setGrowthCondition(getGrowthCondition());
		sampleEntryImpl.setQuinone(getQuinone());
		sampleEntryImpl.setGCContent(getGCContent());
		sampleEntryImpl.setOtherCharacteristics(getOtherCharacteristics());
		sampleEntryImpl.setApplications(getApplications());
		sampleEntryImpl.setSampleReferences(getSampleReferences());
		sampleEntryImpl.setCreateDate(getCreateDate());
		sampleEntryImpl.setUpdateDate(getUpdateDate());
		sampleEntryImpl.setBiosafety(getBiosafety());
		sampleEntryImpl.setStatus(getStatus());
		sampleEntryImpl.setStrainId(getStrainId());

		sampleEntryImpl.resetOriginalValues();

		return sampleEntryImpl;
	}

	public int compareTo(SampleEntry sampleEntry) {
		int value = 0;

		value = getSampleCode().compareTo(sampleEntry.getSampleCode());

		if (value != 0) {
			return value;
		}

		return 0;
	}

	@Override
	public boolean equals(Object obj) {
		if (obj == null) {
			return false;
		}

		SampleEntry sampleEntry = null;

		try {
			sampleEntry = (SampleEntry)obj;
		}
		catch (ClassCastException cce) {
			return false;
		}

		long primaryKey = sampleEntry.getPrimaryKey();

		if (getPrimaryKey() == primaryKey) {
			return true;
		}
		else {
			return false;
		}
	}

	@Override
	public int hashCode() {
		return (int)getPrimaryKey();
	}

	@Override
	public void resetOriginalValues() {
		SampleEntryModelImpl sampleEntryModelImpl = this;

		sampleEntryModelImpl._originalSampleCode = sampleEntryModelImpl._sampleCode;

		sampleEntryModelImpl._columnBitmask = 0;
	}

	@Override
	public CacheModel<SampleEntry> toCacheModel() {
		SampleEntryCacheModel sampleEntryCacheModel = new SampleEntryCacheModel();

		sampleEntryCacheModel.sampleId = getSampleId();

		sampleEntryCacheModel.scientificName = getScientificName();

		String scientificName = sampleEntryCacheModel.scientificName;

		if ((scientificName != null) && (scientificName.length() == 0)) {
			sampleEntryCacheModel.scientificName = null;
		}

		sampleEntryCacheModel.sampleSynonym = getSampleSynonym();

		String sampleSynonym = sampleEntryCacheModel.sampleSynonym;

		if ((sampleSynonym != null) && (sampleSynonym.length() == 0)) {
			sampleEntryCacheModel.sampleSynonym = null;
		}

		sampleEntryCacheModel.eCatalog = getECatalog();

		sampleEntryCacheModel.sampleCode = getSampleCode();

		String sampleCode = sampleEntryCacheModel.sampleCode;

		if ((sampleCode != null) && (sampleCode.length() == 0)) {
			sampleEntryCacheModel.sampleCode = null;
		}

		sampleEntryCacheModel.catalogYear = getCatalogYear();

		String catalogYear = sampleEntryCacheModel.catalogYear;

		if ((catalogYear != null) && (catalogYear.length() == 0)) {
			sampleEntryCacheModel.catalogYear = null;
		}

		sampleEntryCacheModel.otherName = getOtherName();

		String otherName = sampleEntryCacheModel.otherName;

		if ((otherName != null) && (otherName.length() == 0)) {
			sampleEntryCacheModel.otherName = null;
		}

		sampleEntryCacheModel.sampleOtherCode = getSampleOtherCode();

		String sampleOtherCode = sampleEntryCacheModel.sampleOtherCode;

		if ((sampleOtherCode != null) && (sampleOtherCode.length() == 0)) {
			sampleEntryCacheModel.sampleOtherCode = null;
		}

		sampleEntryCacheModel.sourceIsolation = getSourceIsolation();

		String sourceIsolation = sampleEntryCacheModel.sourceIsolation;

		if ((sourceIsolation != null) && (sourceIsolation.length() == 0)) {
			sampleEntryCacheModel.sourceIsolation = null;
		}

		sampleEntryCacheModel.history = getHistory();

		String history = sampleEntryCacheModel.history;

		if ((history != null) && (history.length() == 0)) {
			sampleEntryCacheModel.history = null;
		}

		sampleEntryCacheModel.sampleForeign = getSampleForeign();

		sampleEntryCacheModel.domestic = getDomestic();

		sampleEntryCacheModel.deposit = getDeposit();

		sampleEntryCacheModel.isolationMethod = getIsolationMethod();

		String isolationMethod = sampleEntryCacheModel.isolationMethod;

		if ((isolationMethod != null) && (isolationMethod.length() == 0)) {
			sampleEntryCacheModel.isolationMethod = null;
		}

		sampleEntryCacheModel.isolationTime = getIsolationTime();

		String isolationTime = sampleEntryCacheModel.isolationTime;

		if ((isolationTime != null) && (isolationTime.length() == 0)) {
			sampleEntryCacheModel.isolationTime = null;
		}

		sampleEntryCacheModel.depositionTime = getDepositionTime();

		String depositionTime = sampleEntryCacheModel.depositionTime;

		if ((depositionTime != null) && (depositionTime.length() == 0)) {
			sampleEntryCacheModel.depositionTime = null;
		}

		sampleEntryCacheModel.isolationPerson = getIsolationPerson();

		String isolationPerson = sampleEntryCacheModel.isolationPerson;

		if ((isolationPerson != null) && (isolationPerson.length() == 0)) {
			sampleEntryCacheModel.isolationPerson = null;
		}

		sampleEntryCacheModel.fd = getFd();

		String fd = sampleEntryCacheModel.fd;

		if ((fd != null) && (fd.length() == 0)) {
			sampleEntryCacheModel.fd = null;
		}

		sampleEntryCacheModel.df = getDf();

		String df = sampleEntryCacheModel.df;

		if ((df != null) && (df.length() == 0)) {
			sampleEntryCacheModel.df = null;
		}

		sampleEntryCacheModel.sampleLN = getSampleLN();

		String sampleLN = sampleEntryCacheModel.sampleLN;

		if ((sampleLN != null) && (sampleLN.length() == 0)) {
			sampleEntryCacheModel.sampleLN = null;
		}

		sampleEntryCacheModel.cultivationMedium = getCultivationMedium();

		String cultivationMedium = sampleEntryCacheModel.cultivationMedium;

		if ((cultivationMedium != null) && (cultivationMedium.length() == 0)) {
			sampleEntryCacheModel.cultivationMedium = null;
		}

		sampleEntryCacheModel.cultivationTemperature = getCultivationTemperature();

		String cultivationTemperature = sampleEntryCacheModel.cultivationTemperature;

		if ((cultivationTemperature != null) &&
				(cultivationTemperature.length() == 0)) {
			sampleEntryCacheModel.cultivationTemperature = null;
		}

		sampleEntryCacheModel.pH = getPH();

		String pH = sampleEntryCacheModel.pH;

		if ((pH != null) && (pH.length() == 0)) {
			sampleEntryCacheModel.pH = null;
		}

		Date mostRecentCheckingDate = getMostRecentCheckingDate();

		if (mostRecentCheckingDate != null) {
			sampleEntryCacheModel.mostRecentCheckingDate = mostRecentCheckingDate.getTime();
		}
		else {
			sampleEntryCacheModel.mostRecentCheckingDate = Long.MIN_VALUE;
		}

		sampleEntryCacheModel.survivability = getSurvivability();

		String survivability = sampleEntryCacheModel.survivability;

		if ((survivability != null) && (survivability.length() == 0)) {
			sampleEntryCacheModel.survivability = null;
		}

		sampleEntryCacheModel.typeStrain = getTypeStrain();

		sampleEntryCacheModel.naturalStrain = getNaturalStrain();

		sampleEntryCacheModel.mutatedStrain = getMutatedStrain();

		sampleEntryCacheModel.productionStrain = getProductionStrain();

		sampleEntryCacheModel.cellMorphology = getCellMorphology();

		String cellMorphology = sampleEntryCacheModel.cellMorphology;

		if ((cellMorphology != null) && (cellMorphology.length() == 0)) {
			sampleEntryCacheModel.cellMorphology = null;
		}

		sampleEntryCacheModel.cellPhoto = getCellPhoto();

		String cellPhoto = sampleEntryCacheModel.cellPhoto;

		if ((cellPhoto != null) && (cellPhoto.length() == 0)) {
			sampleEntryCacheModel.cellPhoto = null;
		}

		sampleEntryCacheModel.colonyPhoto = getColonyPhoto();

		String colonyPhoto = sampleEntryCacheModel.colonyPhoto;

		if ((colonyPhoto != null) && (colonyPhoto.length() == 0)) {
			sampleEntryCacheModel.colonyPhoto = null;
		}

		sampleEntryCacheModel.sporePhoto = getSporePhoto();

		String sporePhoto = sampleEntryCacheModel.sporePhoto;

		if ((sporePhoto != null) && (sporePhoto.length() == 0)) {
			sampleEntryCacheModel.sporePhoto = null;
		}

		sampleEntryCacheModel.sequences = getSequences();

		String sequences = sampleEntryCacheModel.sequences;

		if ((sequences != null) && (sequences.length() == 0)) {
			sampleEntryCacheModel.sequences = null;
		}

		sampleEntryCacheModel.growthCondition = getGrowthCondition();

		String growthCondition = sampleEntryCacheModel.growthCondition;

		if ((growthCondition != null) && (growthCondition.length() == 0)) {
			sampleEntryCacheModel.growthCondition = null;
		}

		sampleEntryCacheModel.quinone = getQuinone();

		String quinone = sampleEntryCacheModel.quinone;

		if ((quinone != null) && (quinone.length() == 0)) {
			sampleEntryCacheModel.quinone = null;
		}

		sampleEntryCacheModel.GCContent = getGCContent();

		String GCContent = sampleEntryCacheModel.GCContent;

		if ((GCContent != null) && (GCContent.length() == 0)) {
			sampleEntryCacheModel.GCContent = null;
		}

		sampleEntryCacheModel.otherCharacteristics = getOtherCharacteristics();

		String otherCharacteristics = sampleEntryCacheModel.otherCharacteristics;

		if ((otherCharacteristics != null) &&
				(otherCharacteristics.length() == 0)) {
			sampleEntryCacheModel.otherCharacteristics = null;
		}

		sampleEntryCacheModel.applications = getApplications();

		String applications = sampleEntryCacheModel.applications;

		if ((applications != null) && (applications.length() == 0)) {
			sampleEntryCacheModel.applications = null;
		}

		sampleEntryCacheModel.sampleReferences = getSampleReferences();

		String sampleReferences = sampleEntryCacheModel.sampleReferences;

		if ((sampleReferences != null) && (sampleReferences.length() == 0)) {
			sampleEntryCacheModel.sampleReferences = null;
		}

		Date createDate = getCreateDate();

		if (createDate != null) {
			sampleEntryCacheModel.createDate = createDate.getTime();
		}
		else {
			sampleEntryCacheModel.createDate = Long.MIN_VALUE;
		}

		Date updateDate = getUpdateDate();

		if (updateDate != null) {
			sampleEntryCacheModel.updateDate = updateDate.getTime();
		}
		else {
			sampleEntryCacheModel.updateDate = Long.MIN_VALUE;
		}

		sampleEntryCacheModel.biosafety = getBiosafety();

		String biosafety = sampleEntryCacheModel.biosafety;

		if ((biosafety != null) && (biosafety.length() == 0)) {
			sampleEntryCacheModel.biosafety = null;
		}

		sampleEntryCacheModel.status = getStatus();

		sampleEntryCacheModel.strainId = getStrainId();

		return sampleEntryCacheModel;
	}

	@Override
	public String toString() {
		StringBundler sb = new StringBundler(91);

		sb.append("{sampleId=");
		sb.append(getSampleId());
		sb.append(", scientificName=");
		sb.append(getScientificName());
		sb.append(", sampleSynonym=");
		sb.append(getSampleSynonym());
		sb.append(", eCatalog=");
		sb.append(getECatalog());
		sb.append(", sampleCode=");
		sb.append(getSampleCode());
		sb.append(", catalogYear=");
		sb.append(getCatalogYear());
		sb.append(", otherName=");
		sb.append(getOtherName());
		sb.append(", sampleOtherCode=");
		sb.append(getSampleOtherCode());
		sb.append(", sourceIsolation=");
		sb.append(getSourceIsolation());
		sb.append(", history=");
		sb.append(getHistory());
		sb.append(", sampleForeign=");
		sb.append(getSampleForeign());
		sb.append(", domestic=");
		sb.append(getDomestic());
		sb.append(", deposit=");
		sb.append(getDeposit());
		sb.append(", isolationMethod=");
		sb.append(getIsolationMethod());
		sb.append(", isolationTime=");
		sb.append(getIsolationTime());
		sb.append(", depositionTime=");
		sb.append(getDepositionTime());
		sb.append(", isolationPerson=");
		sb.append(getIsolationPerson());
		sb.append(", fd=");
		sb.append(getFd());
		sb.append(", df=");
		sb.append(getDf());
		sb.append(", sampleLN=");
		sb.append(getSampleLN());
		sb.append(", cultivationMedium=");
		sb.append(getCultivationMedium());
		sb.append(", cultivationTemperature=");
		sb.append(getCultivationTemperature());
		sb.append(", pH=");
		sb.append(getPH());
		sb.append(", mostRecentCheckingDate=");
		sb.append(getMostRecentCheckingDate());
		sb.append(", survivability=");
		sb.append(getSurvivability());
		sb.append(", typeStrain=");
		sb.append(getTypeStrain());
		sb.append(", naturalStrain=");
		sb.append(getNaturalStrain());
		sb.append(", mutatedStrain=");
		sb.append(getMutatedStrain());
		sb.append(", productionStrain=");
		sb.append(getProductionStrain());
		sb.append(", cellMorphology=");
		sb.append(getCellMorphology());
		sb.append(", cellPhoto=");
		sb.append(getCellPhoto());
		sb.append(", colonyPhoto=");
		sb.append(getColonyPhoto());
		sb.append(", sporePhoto=");
		sb.append(getSporePhoto());
		sb.append(", sequences=");
		sb.append(getSequences());
		sb.append(", growthCondition=");
		sb.append(getGrowthCondition());
		sb.append(", quinone=");
		sb.append(getQuinone());
		sb.append(", GCContent=");
		sb.append(getGCContent());
		sb.append(", otherCharacteristics=");
		sb.append(getOtherCharacteristics());
		sb.append(", applications=");
		sb.append(getApplications());
		sb.append(", sampleReferences=");
		sb.append(getSampleReferences());
		sb.append(", createDate=");
		sb.append(getCreateDate());
		sb.append(", updateDate=");
		sb.append(getUpdateDate());
		sb.append(", biosafety=");
		sb.append(getBiosafety());
		sb.append(", status=");
		sb.append(getStatus());
		sb.append(", strainId=");
		sb.append(getStrainId());
		sb.append("}");

		return sb.toString();
	}

	public String toXmlString() {
		StringBundler sb = new StringBundler(139);

		sb.append("<model><model-name>");
		sb.append("vn.com.fis.portal.vtcc.model.SampleEntry");
		sb.append("</model-name>");

		sb.append(
			"<column><column-name>sampleId</column-name><column-value><![CDATA[");
		sb.append(getSampleId());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>scientificName</column-name><column-value><![CDATA[");
		sb.append(getScientificName());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>sampleSynonym</column-name><column-value><![CDATA[");
		sb.append(getSampleSynonym());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>eCatalog</column-name><column-value><![CDATA[");
		sb.append(getECatalog());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>sampleCode</column-name><column-value><![CDATA[");
		sb.append(getSampleCode());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>catalogYear</column-name><column-value><![CDATA[");
		sb.append(getCatalogYear());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>otherName</column-name><column-value><![CDATA[");
		sb.append(getOtherName());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>sampleOtherCode</column-name><column-value><![CDATA[");
		sb.append(getSampleOtherCode());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>sourceIsolation</column-name><column-value><![CDATA[");
		sb.append(getSourceIsolation());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>history</column-name><column-value><![CDATA[");
		sb.append(getHistory());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>sampleForeign</column-name><column-value><![CDATA[");
		sb.append(getSampleForeign());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>domestic</column-name><column-value><![CDATA[");
		sb.append(getDomestic());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>deposit</column-name><column-value><![CDATA[");
		sb.append(getDeposit());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>isolationMethod</column-name><column-value><![CDATA[");
		sb.append(getIsolationMethod());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>isolationTime</column-name><column-value><![CDATA[");
		sb.append(getIsolationTime());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>depositionTime</column-name><column-value><![CDATA[");
		sb.append(getDepositionTime());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>isolationPerson</column-name><column-value><![CDATA[");
		sb.append(getIsolationPerson());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>fd</column-name><column-value><![CDATA[");
		sb.append(getFd());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>df</column-name><column-value><![CDATA[");
		sb.append(getDf());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>sampleLN</column-name><column-value><![CDATA[");
		sb.append(getSampleLN());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>cultivationMedium</column-name><column-value><![CDATA[");
		sb.append(getCultivationMedium());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>cultivationTemperature</column-name><column-value><![CDATA[");
		sb.append(getCultivationTemperature());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>pH</column-name><column-value><![CDATA[");
		sb.append(getPH());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>mostRecentCheckingDate</column-name><column-value><![CDATA[");
		sb.append(getMostRecentCheckingDate());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>survivability</column-name><column-value><![CDATA[");
		sb.append(getSurvivability());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>typeStrain</column-name><column-value><![CDATA[");
		sb.append(getTypeStrain());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>naturalStrain</column-name><column-value><![CDATA[");
		sb.append(getNaturalStrain());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>mutatedStrain</column-name><column-value><![CDATA[");
		sb.append(getMutatedStrain());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>productionStrain</column-name><column-value><![CDATA[");
		sb.append(getProductionStrain());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>cellMorphology</column-name><column-value><![CDATA[");
		sb.append(getCellMorphology());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>cellPhoto</column-name><column-value><![CDATA[");
		sb.append(getCellPhoto());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>colonyPhoto</column-name><column-value><![CDATA[");
		sb.append(getColonyPhoto());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>sporePhoto</column-name><column-value><![CDATA[");
		sb.append(getSporePhoto());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>sequences</column-name><column-value><![CDATA[");
		sb.append(getSequences());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>growthCondition</column-name><column-value><![CDATA[");
		sb.append(getGrowthCondition());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>quinone</column-name><column-value><![CDATA[");
		sb.append(getQuinone());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>GCContent</column-name><column-value><![CDATA[");
		sb.append(getGCContent());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>otherCharacteristics</column-name><column-value><![CDATA[");
		sb.append(getOtherCharacteristics());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>applications</column-name><column-value><![CDATA[");
		sb.append(getApplications());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>sampleReferences</column-name><column-value><![CDATA[");
		sb.append(getSampleReferences());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>createDate</column-name><column-value><![CDATA[");
		sb.append(getCreateDate());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>updateDate</column-name><column-value><![CDATA[");
		sb.append(getUpdateDate());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>biosafety</column-name><column-value><![CDATA[");
		sb.append(getBiosafety());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>status</column-name><column-value><![CDATA[");
		sb.append(getStatus());
		sb.append("]]></column-value></column>");
		sb.append(
			"<column><column-name>strainId</column-name><column-value><![CDATA[");
		sb.append(getStrainId());
		sb.append("]]></column-value></column>");

		sb.append("</model>");

		return sb.toString();
	}

	private static ClassLoader _classLoader = SampleEntry.class.getClassLoader();
	private static Class<?>[] _escapedModelProxyInterfaces = new Class[] {
			SampleEntry.class
		};
	private long _sampleId;
	private String _scientificName;
	private String _sampleSynonym;
	private int _eCatalog;
	private String _sampleCode;
	private String _originalSampleCode;
	private String _catalogYear;
	private String _otherName;
	private String _sampleOtherCode;
	private String _sourceIsolation;
	private String _history;
	private int _sampleForeign;
	private int _domestic;
	private int _deposit;
	private String _isolationMethod;
	private String _isolationTime;
	private String _depositionTime;
	private String _isolationPerson;
	private String _fd;
	private String _df;
	private String _sampleLN;
	private String _cultivationMedium;
	private String _cultivationTemperature;
	private String _pH;
	private Date _mostRecentCheckingDate;
	private String _survivability;
	private int _typeStrain;
	private int _naturalStrain;
	private int _mutatedStrain;
	private int _productionStrain;
	private String _cellMorphology;
	private String _cellPhoto;
	private String _colonyPhoto;
	private String _sporePhoto;
	private String _sequences;
	private String _growthCondition;
	private String _quinone;
	private String _GCContent;
	private String _otherCharacteristics;
	private String _applications;
	private String _sampleReferences;
	private Date _createDate;
	private Date _updateDate;
	private String _biosafety;
	private int _status;
	private long _strainId;
	private transient ExpandoBridge _expandoBridge;
	private long _columnBitmask;
	private SampleEntry _escapedModelProxy;
}